﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace LynxWiki.ViewModels
{
    public class WikiTopicHistoryListings
    {
        public List<WikiTopicHistoryListingViewData> WikiTopicHistoryListing { get; set; }
    }

    public class WikiTopicHistoryListingViewData
    {
        public string TopicName { get; set; }
        public string WikiDir { get; set; }

        [DisplayFormat(DataFormatString = "{0:yyyy-MM-dd HH:mm:ss}")]
        public DateTime CreatedOn { get; set; }
        public string Creator { get; set; }
        public int Version { get; set; }

        public string TopicBody { get; set; }

        public bool DiscussionLocked { get; set; }

    }
}